package com.itheima.oop.encapsulation;

/**
 * @author Anomaly
 * @date 2022/12/5 14:43
 */
public class Student {
    //成员变量使用private修饰
    private int age;


    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
